package com.gljx.web.dao;

import java.util.List;
import java.util.Map;

import com.gljx.web.Entity.Team;
import org.springframework.stereotype.Component;

@Component
public interface TeamMapper {
    int deleteByPrimaryKey(String fid);

    int insert(Team record);

    int insertSelective(Team record);

    Team selectByPrimaryKey(String fid);

    int updateByPrimaryKeySelective(Team record);

    int updateByPrimaryKey(Team record);

    List<Team> selectTeamByFcontrolunitid(String companyId);

    List<Team> selectTeamByFcontrolunitidAndFnameL2(Map<String, String> map);

    Team selectTeamByFid(String fid);

    List<Team> selTeam(String companyId);

    List<Team> selTeamByName(Map<String, String> map);
}